package com.github.pudding.listener;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

/**
 * @author Stephen
 * @since 2018/8/31
 */
public class StartupListener implements ServletContextListener {

    @Override
    public void contextInitialized(ServletContextEvent sce) {

        System.out.println("listener is called!");
    }

    @Override
    public void contextDestroyed(ServletContextEvent sce) {
        System.out.println("listener is deleted!");
    }
}
